<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
	<CodeSnippet Format="1.0.0">
		<Header>
			<Title>attd</Title>
			<Shortcut>attd</Shortcut>
			<Description>属性的代码段</Description>
			<Author>singba</Author>
			<SnippetTypes>
				<SnippetType>Expansion</SnippetType>
				<SnippetType>SurroundsWith</SnippetType>
			</SnippetTypes>
		</Header>
		<Snippet>
			<Declarations>
				<Literal>
					<ID>name</ID>
					<ToolTip>属性名称</ToolTip>
					<Default>name</Default>
				</Literal>
				<Literal>
					<ID>type</ID>
					<ToolTip>属性类型</ToolTip>
					<Default>string</Default>
				</Literal>
				<Literal>
					<ID>defaultValue</ID>
					<ToolTip>属性类型</ToolTip>
					<Default>string.Empty</Default>
				</Literal>
			</Declarations>
			<Code Language="csharp">
        <![CDATA[#region property $name$ 
	public $type$ $name$
	{
		get
		{
			return GetFieldValue<$type$>("$name$", $defaultValue$);
		}
		set
		{ 
			SetFieldValue("$name$", value); 
		}
	}
	#endregion
	$end$]]>
			</Code>
		</Snippet>
	</CodeSnippet>
</CodeSnippets>
